/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/* nixonFTP
 * FTP client version 0.1
 * Copyright (C) 2010 NIXON Development Corporation.
 * All rights reserved.
 * http://members.shaw.ca/nixon.com
*/

package nixonftp.list;

import java.awt.Rectangle;
import nixonftp.*;
import java.awt.event.MouseListener;
import javax.swing.AbstractListModel;
import javax.swing.ListModel;
import javax.swing.TransferHandler;

public interface NXListAdapter {
	public int getSelectedItemCount();
	public NXObjectIndex getSelectedValue();
	public String getDirectory();
	public void addMouseListener(MouseListener m);
	public void updateUI();
	public ListModel getAdapterModel();
	public void setModel(ListModel lsm);

	public Object[] getSelectedValues();

	public void setDirectory(String s);

	public boolean getLocal();
	public boolean getType();
	public int getIndex();
	public void addElement(Object o);
	public void removeElement(String name);
	public boolean dropLeft(); //left side of container
	public void setDropLeft(boolean b);
	public Rectangle getRealBounds();

	public TransferHandler getTransferHandler();
}
